home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / f90 / sin.z / sin
Encoding:
Text File  |  2002-10-03  |  4.2 KB  |  107 lines

  1. SIN(3I)                                               Last changed: 4-13-99
  2.  
  3.  
  4. NNAAMMEE
  5.      SSIINN, DDSSIINN, QQSSIINN, CCSSIINN, CCDDSSIINN, CCQQSSIINN, SSIINNDD, DDSSIINNDD, QQSSIINNDD - Computes
  6.      sine
  7.  
  8. SSYYNNOOPPSSIISS
  9.      SSIINN (([XX==]_x))
  10.      DDSSIINN (([XX==]_x))
  11.      QQSSIINN (([XX==]_x))
  12.      CCSSIINN (([XX==]_x))
  13.      CCDDSSIINN (([XX==]_x))
  14.      CCQQSSIINN (([XX==]_x))
  15.  
  16.      SSIINNDD (([XX==]_x))
  17.      DDSSIINNDD (([XX==]_x))
  18.      QQSSIINNDD (([XX==]_x))
  19.  
  20. IIMMPPLLEEMMEENNTTAATTIIOONN
  21.      UNICOS, UNICOS/mk, IRIX systems
  22.  
  23.      CF90, MIPSpro 7 Fortran 90, MIPSpro Fortran 77
  24.  
  25. SSTTAANNDDAARRDDSS
  26.      Fortran
  27.  
  28.      Fortran extensions:  QQSSIINN, CCDDSSIINN, CCQQSSIINN, SSIINNDD, DDSSIINNDD, QQSSIINNDD
  29.  
  30. DDEESSCCRRIIPPTTIIOONN
  31.      These functions evaluate _y = sin(_x).
  32.  
  33.      SSIINN and SSIINNDD are the generic function names; the others are specifics.
  34.      These are elemental intrinsic functions.  They accept the following
  35.      argument:
  36.  
  37.      _x         Must be of type real or complex.  For SSIINN, DDSSIINN, QQSSIINN, CCSSIINN,
  38.                CCDDSSIINN, and CCQQSSIINN, _x must be specified in radians and is
  39.                treated as modulo 2 * pi.  For SSIINNDD, DDSSIINNDD, and QQSSIINNDD, _x
  40.                must be specified in degrees and is treated as modulo 360.
  41.  
  42.      Vector versions of these intrinsics exist on some systems.  Vector
  43.      versions of the SSIINN, DDSSIINN, CCSSIINN, and CCDDSSIINN intrinsics exist on UNICOS
  44.      and UNICOS/mk systems.  On UNICOS/mk systems, the vector versions of
  45.      these intrinsics are used when --OO vveeccttoorr33 or --OO33 are specified on the
  46.      compiler command line.  A vector version of the single-precision and
  47.      double-precision SSIINN intrinsic exists on IRIX systems and is used when
  48.      --OO33 is specified on the compiler command line.
  49.  
  50. NNOOTTEESS
  51.      The SSIINN, DDSSIINN, and CCSSIINN intrinsic function names can be passed as
  52.      arguments; the others cannot.
  53.  
  54.      On UNICOS and UNICOS/mk systems, the following return values occur:
  55.  
  56.      * On systems that support the IEEE standard for floating-point
  57.        arithmetic,            25
  58.        SSIINN((_x)) = NaN if |_x| > 2
  59.  
  60.      * On systems that do not support the IEEE standard for floating-point
  61.        arithmetic,          25
  62.        SSIINN((_x)) = 0 if |_x| > 2
  63.  
  64.      On IRIX systems, the following return value occurs:
  65.                                  19
  66.           SSIINN((_x)) = NaN if |_x| > 2
  67.  
  68.      On all systems that support the IEEE standard for floating-point
  69.      arithmetic, the following is true:
  70.  
  71.           SSIINN((NaN)) = NaN
  72.  
  73. RREETTUURRNN VVAALLUUEESS
  74.      SSIINN returns the real sine of its real arguments.
  75.  
  76.      DDSSIINN returns the double-precision real sine of its double-precision
  77.      real argument.
  78.  
  79.      QQSSIINN return the quad-precision real sine of its quad-precision real
  80.      argument.
  81.  
  82.      CCSSIINN returns the complex sine of its complex argument.
  83.  
  84.      CCDDSSIINN returns the double-precision complex sine of its
  85.      double-precision complex argument.
  86.  
  87.      CCQQSSIINN returns the quad-precision complex sine of its quad-precision
  88.      complex argument.
  89.  
  90.      SSIINNDD returns the single-precision real sine of its single-precision
  91.      real argument.
  92.  
  93.      DDSSIINNDD returns the double-precision real sine of its double-precision
  94.      real argument.
  95.  
  96.      QQSSIINNDD returns the quad-precision real sine of its quad-precision real
  97.      argument.
  98.  
  99.      The data type and kind type for single-precision, double-precision,
  100.      and quad-precision values differ depending on your platform.  For
  101.      platform-specific information, see the TERMINOLOGY section of the
  102.      IINNTTRROO__IINNTTRRIINN(3I) man page.
  103.  
  104. SSEEEE AALLSSOO
  105.      _I_n_t_r_i_n_s_i_c _P_r_o_c_e_d_u_r_e_s _R_e_f_e_r_e_n_c_e _M_a_n_u_a_l for the printed version of this
  106.      man page.
  107.